package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.DictRegion;
import com.zshan.clinic.database.model.DictRegionExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DictRegionMapper extends SuperMapper {
    long countByExample(DictRegionExample example);

    int deleteByExample(DictRegionExample example);

    int deleteByPrimaryKey(Long code);

    int insert(DictRegion row);

    int insertSelective(DictRegion row);

    List<DictRegion> selectByExample(DictRegionExample example);

    DictRegion selectByPrimaryKey(Long code);

    int updateByExampleSelective(@Param("row") DictRegion row, @Param("example") DictRegionExample example);

    int updateByExample(@Param("row") DictRegion row, @Param("example") DictRegionExample example);

    int updateByPrimaryKeySelective(DictRegion row);

    int updateByPrimaryKey(DictRegion row);
}